<script src='/javascripts/prototype.js' type="text/javascript"></script>
<h1>
	<div style='float:right; font-size: 10pt;margin-right: 60px;'>
		
		<%= link_to('delete', error_url(@error), 
				:method => :delete, 
				:confirm => 'Are you sure you want to delete this error?',
				:style => 'color: red') %>,
		<%= link_to 'back', "javascript:javascript:history.back()"%>
		
	</div>
Error
</h1>
<p><%=@error.subject%></p>
<h2>Status</h2>

<p id='status'>
<%= render :partial => 'errors/status'%>					  
</p>
<h2>Browser</h2>
<p>
	<img src='/images/<%=@error.browser.downcase.gsub(" ","_") %>.png' alt='<%=@error.browser%>' style='float:left'/> 
	<%= @error.browser%>: <%= @error.user_agent%>
</p>

<h2>Content</h2>
<pre style='font-size: 10pt;word-break: break-all;'><%=h @error.content%>
</pre>

	


<p><%= link_to 'back', "javascript:javascript:history.back()"%></p>
	